#pragma once

#include "BaseAction.h"

#include "models/ProjectDocument.h"

class FileExportCsvAction : public BaseAction
{
public:
    FileExportCsvAction();

    void execute() override;

private:
    QString askSaveDialog();

    void exportToCsv(
        shared_ptr<ProjectDocument> document,
        const QString& filename
    );
};
